<?php /* Smarty version 2.6.12, created on 2008-11-05 07:30:25
         compiled from modules/Manufacturers/customer_manufacturer_products.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'modules/Manufacturers/customer_manufacturer_products.tpl', 6, false),)), $this); ?>
<?php func_load_lang($this, "modules/Manufacturers/customer_manufacturer_products.tpl","lbl_url,txt_no_products_in_man"); ?><?php if ($this->_tpl_vars['manufacturer']['is_image'] == 'Y' || $this->_tpl_vars['manufacturer']['descr'] != '' || $this->_tpl_vars['manufacturer']['url'] != ''): ?>
<table>
<tr>
<?php if ($this->_tpl_vars['manufacturer']['is_image'] == 'Y'): ?>
	<td valign="top"><?php if ($this->_tpl_vars['manufacturer']['url'] != ''): ?><a href="<?php echo $this->_tpl_vars['manufacturer']['url']; ?>
"><?php endif; ?><img src="<?php if ($this->_tpl_vars['manufacturer']['image_path'] != ''):  echo $this->_tpl_vars['manufacturer']['image_path'];  else:  echo $this->_tpl_vars['xcart_web_dir']; ?>
/image.php?id=<?php echo $this->_tpl_vars['manufacturer']['manufacturerid']; ?>
&amp;type=M<?php endif; ?>" alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['manufacturer']['manufacturer'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
" /><?php if ($this->_tpl_vars['manufacturer']['url'] != ''): ?></a><?php endif; ?></td>
<?php elseif ($this->_tpl_vars['manufacturer']['url'] != ''): ?>
	<td><?php echo $this->_tpl_vars['lng']['lbl_url']; ?>
: <a href="<?php echo $this->_tpl_vars['manufacturer']['url']; ?>
"><?php echo $this->_tpl_vars['manufacturer']['url']; ?>
</a></td>
</tr>
<tr>
<?php endif; ?>
	<td valign="top"><?php echo $this->_tpl_vars['manufacturer']['descr']; ?>
</td>
</tr>
</table>
<br />
<?php endif;  ob_start();  if ($this->_tpl_vars['products'] != ''):  if ($this->_tpl_vars['sort_fields']): ?>
<div align="right"><?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "main/search_sort_by.tpl", 'smarty_include_vars' => array('url' => "manufacturers.php?manufacturerid=".($this->_tpl_vars['manufacturer']['manufacturerid'])."&",'sort_fields' => $this->_tpl_vars['sort_fields'],'selected' => $this->_tpl_vars['sort'],'direction' => $this->_tpl_vars['sort_direction'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?></div>
<br />
<?php endif;  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "customer/main/navigation.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "customer/main/products.tpl", 'smarty_include_vars' => array('products' => $this->_tpl_vars['products'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  else:  echo $this->_tpl_vars['lng']['txt_no_products_in_man']; ?>

<?php endif;  $this->_smarty_vars['capture']['dialog'] = ob_get_contents(); ob_end_clean();  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "dialog.tpl", 'smarty_include_vars' => array('title' => $this->_tpl_vars['manufacturer']['manufacturer'],'content' => $this->_smarty_vars['capture']['dialog'],'extra' => 'width="100%"')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "customer/main/navigation.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
